
import org.junit.After;
import org.junit.Before;

import de.hdu.mfz.dao.UserDAO;
import de.hdu.mfz.model.User;
import junit.framework.*;

public class TestJUnit extends TestCase {

UserDAO user1;

public TestJUnit (){} // default constructor

@Before
public void setUp() { // creates a test fixture
	user1 = new UserDAO();}

@After
public void tearDown() { } // no resources to release


public void testUser() {
	assertSame(user1, user1.findByUsername("steffi"));
	
	
	
}

}